//
//  BKGuidePageAction.m
//  bestkeep
//
//  Created by yons on 16/11/16.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import "BKGuidePageAction.h"
#import "BKGuidePageController.h"
#import "BKGuidePageAppearToll.h"
@implementation BKGuidePageAction

-(id)BKGuideAppear{
    BOOL appear =  [BKGuidePageAppearToll AppearGuidePage];
    if (appear == YES) {
    BKGuidePageController *con = [[BKGuidePageController alloc]init];
    [[UIApplication sharedApplication].keyWindow.rootViewController presentViewController:con animated:NO completion:nil];
        return @"1";
    }
    else{
        return @"0";
    }
}
-(id)BKGuideAppearFrom:(NSDictionary *)controller{
    UIViewController *Controller = controller[@"Controller"];
    BKGuidePageController *con = [[BKGuidePageController alloc]init];
    [Controller presentViewController:con animated:NO completion:nil];
    return @"";
    
}
@end
